package com.lsh.domain;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 用户登录封装类
 * @author Administrator
 * @date 2019/10/07 20:55
 */

public class LoginUser implements Serializable {

    @NotBlank(message = "{username.not.empty}")
    private String username; //登录用户名/手机号/邮箱
    @NotBlank(message = "{password.not.empty}")
    private String password; //登录密码
    private String code; //登录验证码
    private String cToken; //验证码TOKEN码

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getcToken() {
        return cToken;
    }

    public void setcToken(String cToken) {
        this.cToken = cToken;
    }
}
